#ifndef INFOBASE_H
#define INFOBASE_H

#include <iostream>
#include <QString>

/**
 * @brief  Output indent (输出缩进).
 * @param outs Output stream (输出流).
 * @param indent The indent (缩进).
 * @return Returns outs.
 */
std::ostream& outputIndent(std::ostream& outs, int indent);

/**
 * @brief  Output QString (输出 QString).
 * @param outs Output stream (输出流).
 * @param indent The indent (缩进).
 * @param src Source string (源字符串).
 * @return Returns outs.
 */
std::ostream& outputLineQString(std::ostream& outs, int indent, const QString& src);

/**
 * @brief  Output base info (输出基本信息).
 * @param outs Output stream (输出流).
 * @param indent The indent (缩进).
 * @return Returns outs.
 */
std::ostream& outputBase(std::ostream& outs, int indent);

#endif // INFOBASE_H
